<?php
/**
 * Created by JetBrains PhpStorm.
 * User: shaoshuai
 * Date: 12-7-16
 * Time: 上午2:13
 * To change this template use File | Settings | File Templates.
 */
class EventDispatcher
{
    public static function dispatch(User $toWhom, Event $event)
    {
        $toWhom->receiveEvent($event);
    }
}
